﻿
using Stimulus360.Models.Data;
using System.Collections.Generic;
using Stimulus360.Models.Data.CustomTypes;

namespace Stimulus360.Controllers.Ideas
{
    /// <summary>
    ///     Class to represent View Model for page containing summary of the given idea
    /// </summary>
    public class IdeaDetailViewModel
    {
        /// <summary>
        ///     List of projects associated with the idea
        /// </summary>
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly", Justification ="Property needs to be set in the controllers")]
         public   ICollection<ProjectSummary> IdeaProjectList { get; set; }

        /// <summary>
        ///     List of related ideas
        /// </summary>
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly", Justification ="Property needs to be set in the controllers")]
         public   ICollection<Idea> RelatedIdeas { get; set; }

        /// <summary>
        ///     Idea object to retrieve all details.
        /// </summary>
         public   Idea  Idea { get; set; }
    }
}
